Perioperative magnesium sulfate